//文件上传导出地址
const os = require('os');
const system =  os.platform();
const fileUrl = {
    PUBLIC_PATH:'C:\\Users\\cobot\\Desktop\\config_node_dev.json',
    uploadStaticPath:'C:\\ownuploads',//图片上传路径
    logPath:'C:\\webNodeLogOwnDev',//日志路径
    videoStaticPath :'C:\\scanVideo',//视频路径,
    imgStaticPath:`C:\\scanVideo`//图片路径
}
if(system === 'linux'){
    fileUrl.PUBLIC_PATH = `/home/cobot/config_node_assess.json`
    fileUrl.uploadStaticPath =  '/home/cobot/ownuploads';
    fileUrl.logPath = '/home/cobot/webNodeLogOwnDev';
    fileUrl.videoStaticPath ='/home/cobot/scanVideo',//视频路径
    fileUrl.imgStaticPath = `C:\\scanVideo`
}

module.exports = fileUrl